home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / system / jeeves10.zip / JEEVES.TXT < prev    next >
Text File  |  1995-01-11  |  65KB  |  1,604 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.                                      Jeeves
  9.  
  10.                                   A Print Server
  11.                                     Version 1.0
  12.  
  13.  
  14.                             Copyright I.R. Jennings  1994
  15.                                   Biology Department
  16.                                 University of York, UK.
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23. 02
  24.  
  25. DISCLAIMER OF WARRANTY
  26.  
  27.  
  28. THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, 
  29. INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY 
  30. AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  
  31.  
  32. IN NO EVENT SHALL IAN R. JENNINGS OR THE UNIVERSITY OF YORK BE LIABLE FOR 
  33. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, 
  34. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES.
  35.  
  36.  
  37.  
  38. Copyright Notice
  39.  
  40. Copyright  I.R. Jennings  1994   All rights reserved.
  41.  
  42.  
  43. Trademark Acknowledgements
  44.  
  45. IBM PC, IBM Proprinter:  International Business Machines Corp.
  46. Novell, Netware, IPX, SPX:  Novell, Inc.
  47. Epson EX-800, LX850:  Seiko Epson Corporation
  48. HP LaserJet III, HP LaserJet 4:  Hewlett-Packard Company
  49. Star LaserPrinter 8III:  Star Micronics Company
  50.  
  51.  
  52.  
  53. 03
  54.  
  55. Contents
  56.  
  57. INTRODUCTION..............................................4
  58.  
  59. GETTING STARTED...........................................5
  60.   WHAT YOU NEED...........................................5
  61.   QUICK START.............................................5
  62.      Setting Up the Server................................5
  63.      Setting Up the Client PCs............................6
  64.   DETAILED INSTALLATION...................................8
  65.      Setting Up the Server................................8
  66.      Setting Up the Client PCs...........................11
  67.  
  68. JEEVES...................................................14
  69.   JEEVES INITIALISATION FILE.............................14
  70.      Port Statements.....................................14
  71.      Temp Directory Statement............................14
  72.      Screen Save Statement...............................14
  73.      Screen Update Period................................15
  74.      Examples............................................15
  75.   SCREEN DISPLAYS........................................15
  76.      Key Assignments.....................................16
  77.      Queue Display.......................................16
  78.      Connection Display..................................16
  79.      Statistics Display..................................17
  80.   TERMINATING JEEVES.....................................17
  81.   LISTING USERS..........................................18
  82.  
  83. CLIENT PROGRAMS..........................................19
  84.   JLINK..................................................19
  85.   JSET INITIALISATION FILE...............................19
  86.   JSET...................................................20
  87.      Creating a New Print Device.........................21
  88.      Redirecting an Existing Device......................22
  89.      Removing a Device...................................22
  90.      Inserting Prologue and Epilogue data................22
  91.      Using Jlink with Windows............................23
  92.      Compatibility with the Netware Shell................24
  93.   JPRINT.................................................25
  94.  
  95. APPENDICES...............................................26
  96.   APPENDIX A:  SYSTEM REQUIREMENTS.......................26
  97.   APPENDIX B:  ACQUIRING IPX.............................27
  98.      The Crynwr Collection of Packet Drivers.............27
  99.      Packet Driver IPX...................................27
  100.   APPENDIX C:  SYSTEM MESSAGES...........................28
  101.      Jeeves..............................................28
  102.      Jset................................................29
  103.      Jprint..............................................31
  104.   APPENDIX D:  TECHNICAL NOTES...........................33
  105.      Specifications......................................33
  106.      Maximum values......................................33
  107.      Maximum character string lengths....................33
  108.  
  109.  
  110. 04
  111.  
  112. INTRODUCTION
  113.  
  114. Jeeves is an independent local area network (LAN) printer server.  It runs 
  115. on a networked IBM PC compatible computer and enables users on the LAN to 
  116. share one or more printers or other output devices such as a plotter.  
  117. Jeeves uses Novell's SPX protocol to communicate between itself and its 
  118. client PCs.
  119.  
  120. Each printer or output device is attached to a print queue which stores 
  121. incoming print jobs until the printer is ready to receive the data.  
  122. Software on the client PCs enables DOS or Windows applications to send 
  123. print requests to a specified queue and thus to the queue's associated 
  124. printer.  The client software can also insert and append predefined data 
  125. to each print job which is a useful feature for programmable printers 
  126. (such as those which can emulate different printers).
  127.  
  128. There is no need for the client PCs to login to Jeeves as this is done 
  129. automatically so the printing process is transparent to the user.  
  130. Although Jeeves is limited to 20 simultaneous connections (i.e. up to 20 
  131. client PCs can communicate with Jeeves at the same time), these 
  132. connections are only made when the client PCs' applications actually start 
  133. printing so the maximum number of users wanting to print via Jeeves is 
  134. essentially unlimited.
  135.  
  136. Jeeves is not dependent on other network print or file servers though it 
  137. will work along side them.  Further, Jeeves is not at all chatty as it 
  138. only sends out Routing Information Protocol request broadcasts when it 
  139. starts up and doesn't advertise itself as a service.  As Jeeves uses 
  140. Novell's SPX protocol, it requires the IPX protocol driver software 
  141. (IPX.COM or IPXODI.COM) but it doesn't need the Netware shell, NETX, or 
  142. VLMs.
  143.  
  144.  
  145.  
  146.  
  147. 05
  148.  
  149. GETTING STARTED
  150.  
  151. What you need
  152.  
  153. - One or more printers.  Jeeves can support up to seven printers; three 
  154. driven via the parallel ports and four driven by the serial ports (this 
  155. assumes, of course, that the computer which is running Jeeves has the 
  156. necessary hardware).
  157.  
  158. - IBM PC or compatible computer.  This will be used as a dedicated 
  159. printer server and will run the Jeeves program.  The minimum 
  160. requirement is an 8088 system, 10Mb disk, printer port and text video 
  161. adapter running DOS 3.3 or above.  See Appendix A for details of system 
  162. requirements.
  163.  
  164. - Local Area Network.  This must be capable of supporting Novell's IPX 
  165. protocol.
  166.  
  167. - Network Interface Cards.  One for the printer server above and one for 
  168. each client PC requiring access the printer server.
  169.  
  170. - Novell's IPX (and SPX) Driver Software.  This can be either be the 
  171. dedicated IPX.COM file or the Open Data-Link Interface version 
  172. IPXODI.COM.  You may have obtained these drivers with your network 
  173. card.  Alternatively, see Appendix B for acquiring the IPX/SPX driver.
  174.  
  175. - Client PCs.  These are the PCs which will issue the print requests.  
  176. They must be running DOS 3.3 or above.
  177.  
  178.  
  179. Quick Start
  180.  
  181. This section assumes that you are familiar with DOS and installing IPX and 
  182. is included for those who wish to get the programs up and running without 
  183. having to wade through pages of documentation.  Note that if you simply 
  184. want to test Jeeves, you don't need a dedicated PC; you can install the 
  185. software in a directory on any networked PC with an attached printer and 
  186. once tested, delete the files and directory.  You will, however, require a 
  187. second networked PC to act as a client to issue the print requests and you 
  188. wont be able to run other software on the first PC while Jeeves is 
  189. running.
  190.  
  191. If the programs don't respond as described, see the sections "Detailed 
  192. Installation" or Appendix C (System Messages) for more information.
  193.  
  194. Setting Up the Server
  195.  
  196. 1. Set the CONFIG.SYS "files=" command to 30 or more.
  197.  
  198. 2. Create a directory on the server disk drive (e.g. c:\jeevdir) and copy 
  199. the following files to it:
  200.  
  201.  JEEVES.EXE     - the program executable
  202.  JEEVES.INI     - the initialisation file
  203.  JEEVLIST.EXE   - a utility to list users.
  204.  
  205. 3. Create another directory (e.g. C:\JEEVDIR\TMPFILES).  This is where 
  206. Jeeves will store temporary files.
  207.  
  208. 06
  209.  
  210. 4. If you are using a serial port, set the port parameters with the DOS 
  211. MODE command.
  212.  
  213. 5. The shipped version of the JEEVES.INI file will cause Jeeves to print 
  214. to LPT1 via a print queue named PRINTER1 and to store the temporary 
  215. files in the directory C:\JEEVDIR\TMPFILES.  If a printer is not 
  216. connected to LPT1 or the temporary files directory is incorrect, then 
  217. you will have to edit the JEEVES.INI file (see "Jeeves Initialisation 
  218. File").  Otherwise, you can use JEEVES.INI as it is, though you'll 
  219. probably want to change at least the print queue name at some point in 
  220. the future.
  221.  
  222. 6. Edit the IPX.COM configuration file, SHELL.CFG, or the ODI version, 
  223. NET.CFG, to set the number of IPX sockets to 25 and the number of SPX 
  224. connections to 22.  The new lines should be:
  225.  
  226.  ipx  sockets = 25
  227.  spx  connections = 22
  228.  
  229. 7. Load the IPX driver.  Don't use the ODI "a" option as this will prevent 
  230. SPX from loading.
  231.  
  232. 8. Make the program directory (e.g. C:\JEEVDIR) the current directory and 
  233. enter JEEVES.  You will then be prompted to create the user database 
  234. file IDENTIFY.LST to which you should type "Y".  Jeeves should now be 
  235. running and displaying information about the print queue PRINTER1.
  236.  
  237. 9. Press the F3 key to display the current connection screen and note 
  238. Jeeves' address.  You'll need this to set up the client PCs.
  239.  
  240.  
  241. Setting Up the Client PCs
  242.  
  243. 1. Create a directory on the client PC (e.g. C:\JEEVES) and copy the 
  244. following files to it:
  245.  
  246.  JLINK.SYS      -  the Jeeves device driver
  247.  JSET.EXE       -  the device driver maintenance program
  248.  JSET.INI       -  the initialisation file
  249.  JPRINT.COM     -  a utility to print files on Jeeves
  250.  
  251. 2. Insert a line in the CONFIG.SYS file to load the JLINK.SYS device 
  252. driver.
  253.  
  254. 3. Insert the newly created directory in the AUTOEXEC.BAT path statement.
  255.  
  256. 4. Insert the IPX driver in the AUTOEXEC.BAT file.  You may not  need an 
  257. IPX configuration file (SHELL.CFG or NET.CFG) as the default values are 
  258. sufficient.
  259.  
  260. 5. Reboot the computer to load JLINK.SYS, the IPX driver and set the path.
  261.  
  262. 6. Edit the JSET.INI file, replacing the "JEEVES=network_number : node"  
  263. statement with the actual address of Jeeves.  This address is shown at 
  264. the top of the Jeeves Connection Display.  This is the only critical 
  265. statement in the JSET.INI file but you can edit the other statements 
  266. now if you so wish (see "Jset Initialisation File").
  267.  
  268. 07
  269.  
  270. 7. Assuming Jeeves is running, you can now test the connection by entering 
  271. the following command at the DOS prompt:
  272.  
  273.  jprint  /L
  274.  
  275.  The List switch should display the list of print queues on Jeeves (if 
  276. you have used the shipped version of JEEVES.INI, then only the one 
  277. queue, PRINTER1, will be shown).  You can print a file to the printer 
  278. connected to one of the print queues by entering the command:
  279.  
  280.  jprint  [path]filename  print_queue  [/FF]
  281.  
  282.  For example, the command
  283.  
  284.  jprint  c:\config.sys  printer1  /ff
  285.  
  286.  would print the CONFIG.SYS file on the printer served by the queue 
  287. named PRINTER1.  The "/ff" switch will terminate the printing with a 
  288. form-feed (end of page) command.
  289.  
  290.  
  291. 8. You can redirect a client PC's existing LPTn ports (both the device and 
  292. the BIOS interrupt) to a Jeeves print queue by entering the command:
  293.  
  294.  jset  lptn  print_queue
  295.  
  296. 9. You can also create an entirely new device through which data can be 
  297. printed.  For example, the command
  298.  
  299. jset  hplj4  hplj4
  300.  
  301. would create a device called HPLJ4 and link this to a Jeeves print 
  302. queue of the same name.  The DOS command "copy  file.pcl  hplj4" would 
  303. send the file to the HPLJ4 queue on Jeeves.
  304.  
  305.  
  306. This section has been a brief guide to installing and using the Jeeves 
  307. suite of programs.  You may now wish to skip the next section and move on 
  308. to the detailed description of each of the programs.
  309.  
  310.  
  311.  
  312. 08
  313.  
  314. Detailed Installation
  315.  
  316. The Jeeves programs come in two groups of files; the server files which 
  317. are installed on the computer acting as the printer server and the client 
  318. files which are installed on the client PCs enabling them to print to the 
  319. server printers.
  320.  
  321. Server files:
  322.  
  323. JEEVES.EXE      - the actual program
  324. JEEVES.INI      - the initialisation file for the Jeeves program
  325. JEEVLIST.EXE    - an optional utility to list users.
  326.  
  327. Client files:
  328.  
  329. JLINK.SYS       -  the Jeeves device driver
  330. JSET.EXE        -  the device driver maintenance program
  331. JPRINT.COM      -  a utility to print files on Jeeves
  332. JSET.INI        -  the initialisation file for JSET.EXE and JPRINT.COM
  333.  
  334.  
  335. The other files you will need (in addition to the DOS system files) are 
  336. the network driver files. In most cases you will have obtained these with 
  337. your network card but you may also be able to obtain them from sites on 
  338. the INTERNET (see Appendix B).  The network driver files come in two 
  339. forms; dedicated and Open Data-Link Interface (ODI) versions.
  340.  
  341. Dedicated
  342.  
  343. IPX.COM    -  this has to be "bound" to a specific network card
  344. SHELL.CFG  -  the configuration file
  345.  
  346. ODI
  347.  
  348. LSL.COM    -  the Link Support Layer
  349. NETDRV.COM -  the network interface card driver (e.g. NE2000.COM)
  350. IPXODI.COM -  the IPX/SPX protocol driver
  351. NET.CFG    -  the configuration file
  352.  
  353. The essential difference between the dedicated and ODI versions is that 
  354. the dedicated version is setup for a specific type of network card and 
  355. will run only the IPX protocol.  The ODI version, on the other hand, will 
  356. work with different network cards simply by changing the network card 
  357. driver file and will simultaneously support different protocols by adding 
  358. the appropriate protocol driver.
  359.  
  360. There are other network driver variations such as using packet drivers.  
  361. See Appendix B for more information.
  362.  
  363. Setting Up the Server
  364.  
  365. This section is a step by step guide to setting up the hardware and 
  366. installing the software on the PC which will be the printer server.  The 
  367. system requirements for this PC are listed in Appendix A.
  368.  
  369. 1. Install the network interface card in the PC according to the 
  370. manufacturer's instructions and connect it to the LAN.
  371.  
  372. 09
  373.  
  374. 2. Connect the printer or printers to the parallel or serial ports in the 
  375. PC, noting which printer goes to which port.  If you are using a 
  376. printer driven from a serial port, make a note of the printer's serial 
  377. parameters (baud, parity, etc.); you will need these values to set the 
  378. DOS mode command in the AUTOEXEC.BAT file.
  379.  
  380. 3. Create the directory C:\JEEVDIR (you may use a different 
  381. drive/directory) and copy the following files to it:
  382.  
  383.  JEEVES.EXE     - the program executable
  384.  JEEVES.INI     - the initialisation file
  385.  JEEVLIST.EXE   - a utility to list users.
  386.  
  387. 4. If you are using the ODI version of the IPX driver, then skip to 
  388. paragraph 6.
  389.  
  390. 5. The following applies to the dedicated IPX driver only.
  391.  
  392. a) Copy the IPX.COM file to the program directory C:\JEEVDIR.
  393.  
  394. b) Use a DOS editor to create the IPX configuration file SHELL.CFG in 
  395. the program directory.  Insert the following lines in the file:
  396.  
  397.  ipx  sockets  =  25
  398.  spx  connections  =  22
  399.  
  400. c) Edit the AUTOEXEC.BAT file, inserting the following lines (the mode 
  401. command is only required for serial printers.  Change the 
  402. drive/directory as appropriate):
  403.  
  404.  mode comn:  baud=b  parity=p  data=d  stop=s
  405.  cd  c:\jeevdir
  406.  ipx
  407.  jeeves
  408.  
  409. d) Now skip to paragraph 7.
  410.  
  411. 6. The following applies to the ODI driver only.
  412.  
  413. a) Copy the following files to the program directory C:\JEEVDIR.  Copy 
  414. the specific network card ODI driver (e.g. NE2000.COM, SMC8000.COM, 
  415. etc.) in place of NETDRV.COM.
  416.  
  417.  LSL.COM        -  the Link Support Layer
  418.  NETDRV.COM     -  the network interface card driver (e.g. NE2000.COM)
  419.  IPXODI.COM     -  the IPX/SPX protocol driver
  420.  
  421. b) Copy the default NET.CFG file that came with the network card 
  422. software to the program directory C:\JEEVDIR or use a DOS editor to 
  423. create a new NET.CFG file.  Insert the following lines at the 
  424. beginning of the file before any section headings that may exist:
  425.  
  426.  ipx  sockets  =  25
  427.  spx  connections  =  22
  428.  
  429. 10
  430.  
  431. c) Edit the AUTOEXEC.BAT file, inserting the following lines (the mode 
  432. command is only required for serial printers.  Change the 
  433. drive/directory and netdrv as appropriate):
  434.  
  435.  mode comn:  baud=b  parity=p  data=d  stop=s
  436.  cd  c:\jeevdir
  437.  lsl
  438.  netdrv
  439.  ipxodi
  440.  jeeves
  441.  
  442. 7. Check that the computer's CONFIG.SYS file contains the line "files=n" 
  443. where n is greater than or equal to 30.  If the "files" command is 
  444. missing or the value of n is less than 30, then insert or change the 
  445. line to "files=30".
  446.  
  447. 8. Create a subdirectory of JEEVDIR called TMPFILES (i.e. 
  448. C:\JEEVDIR\TMPFILES).  This is where Jeeves will store temporary files.  
  449. You can create a different directory if you wish, but you must use a 
  450. directory other than the root directory as Jeeves will not allow 
  451. temporary files to be stored in the root directory.
  452.  
  453. 9. Edit the JEEVES.INI file to set a print queue name and attach it to a 
  454. parallel or serial port.  You will also need to specify where temporary 
  455. files should be stored.
  456.  
  457. a) The general format to define a queue name and assign it to a port is:
  458.  
  459.  port  =  print_queue_name  [ |  printer description ] [/r]
  460.  
  461.  where
  462.  
  463.  port                  is a parallel or serial port (LPT1 - LPT3 or 
  464.                        COM1 - COM4)
  465.  print_queue_name      is the name of the print queue which serves the 
  466.                        printer attached to port
  467.  printer description   is an optional general description of the printer.  
  468.                        This is separated from the print_queue_name by the 
  469.                        vertical line character (ASCII 124).
  470.  /r                    is the optional reset switch.  This sends a hardware 
  471.                        reset command to the printer through the parallel 
  472.                        port after each print job.  The switch is ignored for 
  473.                        COM ports.
  474.  
  475.  For example, to create a print queue called "HPLJ4" which serves a 
  476. printer connected to the parallel port LPT1, enter the following line 
  477. in the JEEVES.INI file:
  478.  
  479.  lpt1  =  hplj4  |  Hewlett-Packard LaserJet IV printer
  480.  
  481. b) The JEEVES.INI file should also contain a line to specify where 
  482. temporary files should be stored.  The general format of the line is:
  483.  
  484.  temp directory  =  [drive:] path
  485.  
  486. 11 
  487.  
  488.  For example, to store the temporary files in the directory 
  489. c:\jeevdir\tmpfiles, enter the following line in the JEEVES.INI file:
  490.  
  491.  temp directory  =  c:\jeevdir\tmpfiles
  492.  
  493.  More information about defining print queue names and other options 
  494. contained in the JEEVES.INI file can be found in "Jeeves Initialisation 
  495. File".
  496.  
  497. 10. Reboot the computer for the setup to take effect.  The AUTOEXEC.BAT 
  498. file will load the network drivers and start Jeeves. You will then be 
  499. prompted to create the user database file IDENTIFY.LST to which you 
  500. should type "Y".  Jeeves should now be running and displaying 
  501. information about the first print queue listed in the JEEVES.INI file.
  502.  
  503. 11. Press the F3 key to display the current connection screen and note 
  504. Jeeves' address.  You'll need this to set up the client PCs.
  505.  
  506.  
  507. Setting Up the Client PCs
  508.  
  509.  
  510. This section is a step by step guide to setting up the hardware and 
  511. installing the software on the client PCs.
  512.  
  513. 1. Install the network interface card in the PC according to the 
  514. manufacturer's instructions and connect it to the LAN.
  515.  
  516. 2. Create a directory on the client PC (e.g. C:\JEEVES) and copy the 
  517. following files to it:
  518.  
  519.  JLINK.SYS      -  the Jeeves device driver
  520.  JSET.EXE       -  the device driver maintenance program
  521.  JSET.INI       -  the initialisation file
  522.  JPRINT.COM     -  a utility to print files on Jeeves
  523.  
  524. 3. If you are using the ODI version of the IPX driver, then skip to 
  525. paragraph 5.
  526.  
  527. 4. The following applies to the dedicated IPX driver only.
  528.  
  529. a) Copy the IPX.COM file to the directory C:\JEEVES.
  530.  
  531. b) Edit the AUTOEXEC.BAT file.  Add the above directory (C:\JEEVES) to 
  532. the path statement and insert the following line:
  533.  
  534.  c:\jeeves\ipx
  535.  
  536. c) You may not require the IPX configuration file (SHELL.CFG) as the 
  537. default values should work.
  538.  
  539. d) Now skip to paragraph 6.
  540.  
  541. 5. The following applies to the ODI driver only.
  542.  
  543. a) Copy the following files to the directory C:\JEEVES.  Copy the 
  544. specific network card ODI driver (e.g. NE2000.COM, SMC8000.COM, etc.) 
  545. in place of NETDRV.COM.
  546.  
  547. 12
  548.  
  549.  LSL.COM        -  the Link Support Layer
  550.  NETDRV.COM     -  the network interface card driver (e.g. NE2000.COM)
  551.  IPXODI.COM     -  the IPX/SPX protocol driver
  552.  
  553. b) Copy the default NET.CFG file that came with the network card 
  554. software to the root directory of the drive.  You shouldn't need to 
  555. change this file as the default values should work.
  556.  
  557. c) Edit the AUTOEXEC.BAT file.  Add the directory C:\JEEVES to the path 
  558. statement and insert the following lines (Change netdrv to the 
  559. appropriate network card driver):
  560.  
  561.  c:\jeeves\lsl
  562.  c:\jeeves\netdrv
  563.  c:\jeeves\ipxodi
  564.  
  565. 6. Edit the CONFIG.SYS file and insert the line:
  566.  
  567.  device[high]  =  c:\jeeves\jlink.sys
  568.  
  569.  The "high" option may be included if DOS has access to upper memory 
  570. blocks (see user's guide for DOS 5 or above).
  571.  
  572. 7. Edit the JSET.INI file, replacing the "JEEVES=network_number : node"  
  573. statement with the actual address of Jeeves.  This address is shown at 
  574. the top of the Jeeves Connection Display.  This is the only critical 
  575. statement in the JSET.INI file but you can edit the other statements 
  576. now if you so wish (see "Jset Initialisation File").
  577.  
  578. 8. Reboot the computer to load the Jeeves device driver JLINK.SYS, the IPX 
  579. drivers and to include the C:\JEEVES directory in the path.
  580.  
  581. 9. Assuming Jeeves is running, you can now test the connection by entering 
  582. the following command at the DOS prompt:
  583.   
  584.   jprint  /L
  585.   
  586.   The List switch should display the list of print queues on Jeeves as 
  587. defined in the JEEVES.INI file on the server PC.  You can print a file 
  588. to the printer connected to one of the print queues by entering the 
  589. command:
  590.   
  591.   jprint  [path]filename  print_queue  [/FF]
  592.   
  593.   For example, the command
  594.   
  595.   jprint  c:\config.sys  hplj4  /ff
  596.   
  597.  would print the CONFIG.SYS file on the printer served by the queue 
  598. named HPLJ4.  The "/ff" switch will terminate the printing with a form-
  599. feed (end of page) command.
  600.    
  601. 10. You can redirect a client PC's existing LPTn ports to a Jeeves print 
  602. queue by entering the command:
  603.   
  604.   jset  lptn  print_queue
  605.  
  606. 13
  607.   
  608. 11. You can also create an entirely new device through which data can be 
  609. printed.  For example, the command
  610.  
  611.  jset  hplj4  hplj4
  612.  
  613.  would create a device called HPLJ4 and link this to a Jeeves print 
  614. queue of the same name.  The DOS command "copy  file.pcl  hplj4" would 
  615. send the file to the HPLJ4 queue on Jeeves.
  616.  
  617. 14
  618.  
  619. JEEVES
  620.  
  621. You start Jeeves by typing the command jeeves at the DOS prompt (you can 
  622. also include the Jeeves command in the AUTOEXEC.BAT file so that it starts 
  623. up automatically).  Jeeves then goes through its startup procedures, one 
  624. of which is to read its initialisation file JEEVES.INI from the current 
  625. directory.
  626.  
  627.  
  628. Jeeves Initialisation File
  629.  
  630. The Jeeves initialisation file JEEVES.INI, contains statements which 
  631. identify the print queues connected to the computer's parallel and serial 
  632. ports.  It also tells Jeeves where it should store temporary files and 
  633. contains information about the screen save option and screen refresh rate.
  634.  
  635. Port Statements
  636.  
  637. The port statements are in the form:
  638.  
  639. portn  =  queue_name  [ |  device description ]  [/r]
  640.  
  641. where port is either LPT for parallel ports or COM for serial ports and n 
  642. is the port number; 1 to 3 for LPT or 1 to 4 for COM.  The queue_name 
  643. identifies the print queue which sends data to portn and is usually the 
  644. abbreviated name of the printer or device connected to the port.  Any 
  645. spaces in queue_name will be removed and low case letters are converted to 
  646. high case.  Following the vertical line character "|", is the optional 
  647. device description which details the printer or device serviced by the 
  648. queue.  The optional reset switch "/r", sends a hardware reset command to 
  649. the printer through the parallel port after each print job.  This ensures 
  650. that the printer is set to its default state at the end of every print 
  651. job.  However, you should check your printer documentation before using 
  652. this facility as some printers will reset before completing the last print 
  653. job.  The switch has no effect on COM ports.
  654.  
  655. Temp Directory Statement
  656.  
  657. Temporary files are stored in the subdirectory specified by the temp 
  658. directory statement which has the form:
  659.  
  660. temp directory = [drive:]path
  661.  
  662. Jeeves will not allow temporary files to be stored in a root directory of 
  663. a drive.
  664.  
  665. Screen Save Statement
  666.  
  667. The screen saver reduces the wear on the computer monitor by blanking the 
  668. screen and displaying a moving pattern.  This occurs when Jeeves has been 
  669. idle (no connections or keyboard activity) for a specified time.  The 
  670. screen will be restored when a key is pressed or a connection made to a 
  671. remote computer.  The idle time is set by the statement:
  672.  
  673. screen save time  =  t
  674.  
  675. 15
  676.  
  677. where t is the time in minutes and can range from 1 to 20.  If the 
  678. statement is not included in the JEEVES.INI file then the default time of 
  679. 20 minutes will be used.  A save time of 0 will disable the save screen 
  680. option.
  681.  
  682. Screen Update Period
  683.  
  684. Jeeves updates information displayed on the screen at a rate determined by 
  685. the statement:
  686.  
  687. screen update period  =  p
  688.  
  689. where p is the time in seconds.  Valid values for p range from 1 to 5 with 
  690. the default value being 2 (the default being used if the statement is not 
  691. included in the JEEVES.INI file).  Jeeves will accept a value of 0 which 
  692. will result in the screen being updated continuously.  However, this 
  693. should only be used for diagnostic purposes as it will dramatically slow 
  694. Jeeves down.
  695.  
  696. Examples
  697.  
  698. The following are examples of JEEVES.INI files:
  699.  
  700. Example 1
  701.  
  702. lpt1=HPLJ4|Hewlett Packard LaserJet 4 /r
  703. lpt2= lx850 | Epson 9 pin matrix
  704. COM1 =plotter
  705. temp directory=d:\prtfiles
  706. screen save time=10
  707. screen update period = 5
  708.  
  709.  
  710. Example 2
  711.  
  712. lpt2=claser | Colour laser printer
  713. temp directory=\jeevprog\tmpfiles
  714.  
  715.  
  716. Screen Displays
  717.  
  718. There are four screen displays which give information about the program 
  719. itself, the print queues, the connections to other computers and some 
  720. operational statistics.  Jeeves starts by displaying details about the 
  721. first print queue listed in the JEEVES.INI file, but the other screens can 
  722. be displayed by pressing one of the function keys F1 to F4 as listed 
  723. below.  The displays are updated at a rate determined by the "screen 
  724. update period" statement in the JEEVES.INI file.
  725.  
  726.  
  727. 16
  728.  
  729. Key Assignments
  730.  
  731.        Key             Operation
  732.  
  733.         F1       Display program details
  734.         F2       Display successive print queues
  735.         F3       Display current connections
  736.         F4       Display operational statistics
  737.         up arrow Move to top of queue/connection list
  738.         dn arrow Move to bottom of queue/connection list
  739.         Alt+X    Abort program and exits to DOS
  740.  
  741.  
  742. Queue Display
  743.  
  744. Each of the queue names listed in the JEEVES.INI file will have its own 
  745. display showing details about the queue and the list of files (print jobs) 
  746. pending.  Pressing the F2 key will cycle through the different queues.
  747.  
  748. The USER, FILENAME and PRIORITY are determined by Jset on the remote 
  749. computer.  The priority values range from 0 to 9 with 0 being the highest 
  750. priority.  There are three stages in the printing of a file and these are 
  751. shown in the status column.  "Transfer" indicates that data is being 
  752. received from the remote computer, "Ready" means that the data transfer is 
  753. complete and the file is waiting to be printed, and "Printing" indicates 
  754. that the data is being sent to the printer.  Along side the "Printing" 
  755. status is the percentage of the file sent to the printer.  Note that if 
  756. the printer is turn off-line and thus the transfer of data to the printer 
  757. stopped, the status will still display "Printing" though the device status 
  758. at the top of the screen will change to "Off Line".
  759.  
  760. Connection Display
  761.  
  762. When a remote computer wants to send a file to Jeeves to be printed, a 
  763. communication link or connection is made between the two computers.  
  764. Information, including the file to be printed, is exchanged over this link 
  765. and once complete the connection is terminated.  Details about any current 
  766. connections are shown in the connection display.  However,  in most cases 
  767. the connections will last just a few seconds and as the connection display 
  768. is usually updated every couple of seconds, many connections will be made 
  769. and terminated before the display has time to list them.
  770.  
  771.  
  772. Jeeves' address is the internetwork address of the computer running the 
  773. Jeeves program.  The address consists of a network number which identifies 
  774. the segment of a multisegmented network and a node address which uniquely 
  775. identifies the adapter card in the computer.  When Jeeves starts up, it 
  776. sends out a packet onto the network requesting the network number from the 
  777. nearest router (usually a Novell file server).  If after several attempts, 
  778. it doesn't get a response, Jeeves assumes that it is connected to an 
  779. isolated segment and will set the network number to 0.
  780.  
  781. The "BYTES IN" and "BYTES OUT" columns display the number of data 
  782. characters received and sent by Jeeves.
  783.  
  784. 17
  785.  
  786. Statistics Display
  787.  
  788. The statistics display gives information about the status of Jeeves and 
  789. some idea of how busy Jeeves is performing certain tasks.
  790.  
  791. - Number of connections is the number of current communication links 
  792. operating and is the same as that shown in the connection's display.
  793.  
  794. - Broken connections with outstanding tasks is the number of connections 
  795. which have been terminated but which still have instructions to carry 
  796. out.  Note that the printing of files is not regarded as a connection 
  797. task.
  798.  
  799. - Peak number of connections is the maximum number of simultaneous 
  800. connections that Jeeves has serviced since the program was installed.
  801.  
  802. - Total packets in and Total packets out are the sum of all data packets 
  803. received by and sent from Jeeves since the program started.  A data 
  804. packet is of variable length with a maximum size of 554 bytes.
  805.  
  806. - Performance, system is an overall indication of how busy Jeeves is.  
  807. The value will be between 95 - 100 when Jeeves is idle and will fall, 
  808. possibly to zero, when Jeeves is performing connection tasks and/or 
  809. printing files.
  810.  
  811. - Performance, parallel ports indicates whether the printers connected to 
  812. the parallel ports LPT1, LPT2 and LPT3 respectively, are receiving data 
  813. efficiently.  A low value (less than 10) means that the printer is 
  814. processing the data as fast as Jeeves can send it while a high value 
  815. (greater than 90) means that the printer isn't processing the data fast 
  816. enough.
  817.  
  818. - Performance, serial ports is the same as for the parallel ports except 
  819. that the values refer to the ports COM1, COM2, COM3 and COM4 
  820. respectively.
  821.  
  822. - Available memory is the current amount (in Kbytes) of unused and 
  823. available RAM.  Approximately 20Kb is used to support each connection.
  824.  
  825. - Number of incomplete transfer files is the number of print jobs that 
  826. have been abandoned because the transfer of data from the remote 
  827. computer to Jeeves was interrupted.
  828.  
  829. - Number of print requests received is the total number of print jobs 
  830. that Jeeves has serviced since the installation of the program.
  831.  
  832.  
  833. Terminating Jeeves
  834.  
  835. It is usually a good idea to leave Jeeves running all the time as the 
  836. client PCs will attempt to connect to Jeeves when they boot up (assuming 
  837. the JSET program is loaded from the AUTOEXEC.BAT file).  However, if 
  838. Jeeves is down, this will not prevent the client PCs from starting.
  839.  
  840. Press Alt+X to exit Jeeves and return control to DOS.  Any connections to 
  841. remote computers will be aborted and any printing will be abandoned 
  842. without warning.  It is recommended that all connections be terminated and 
  843. printing completed before quitting Jeeves.
  844.  
  845. 18
  846.  
  847. Listing Users
  848.  
  849. Each time a remote computer requests connection to Jeeves, data from the 
  850. computer's JSET initialisation file (JSET.INI) is sent to Jeeves to 
  851. identify the user and computer.  This data is stored in a file called 
  852. IDENTIFY.LST in the current directory of the Jeeves computer.  The 
  853. information in the identification file can be listed by entering the 
  854. command JEEVLIST at the DOS prompt.
  855.  
  856.  
  857. 19
  858.  
  859. CLIENT PROGRAMS
  860.  
  861. Jlink enables DOS or Windows applications to print data on Jeeves.  The 
  862. core of the program is contained within the device driver JLINK.SYS while 
  863. the initialisation and maintenance of the devices is carried out using the 
  864. program JSET.EXE.  Existing print devices such as the parallel devices 
  865. LPT1 to LPT3 and the serial devices COM1 to COM4 may have their data 
  866. redirected to Jeeves or entirely new devices may be created through which 
  867. data is printed.  Up to ten devices can be used, any three of which can 
  868. send data simultaneously.  Jlink can also insert characters (the prologue 
  869. data) at the start of each print job and append characters (the epilogue 
  870. data) at the end.
  871.  
  872. Jlink
  873.  
  874. The device driver JLINK.SYS, should be installed by inserting the 
  875. following line in the computer's CONFIG.SYS file:
  876.  
  877. device[high]=[path] jlink.sys [/b=size]
  878.  
  879. The [high] option may be included if DOS has access to UMBs (see users' 
  880. guide for DOS 5 or above) and the [path] should be included if the file 
  881. JLINK.SYS is not in the root directory of the boot disk.  The optional 'b' 
  882. switch defines the amount of memory allocated to store all device prologue 
  883. and epilogue data.  This value can range from 0 to 4096 bytes.
  884.  
  885. Jset Initialisation File
  886.  
  887. The Jset initialisation file (JSET.INI) is primarily used to identify the 
  888. computer and user to Jeeves.  The client programs search the current 
  889. directory and then the directories listed in the DOS search path for the 
  890. file.  Note that the program JSET requires write access to the file (i.e. 
  891. you mustn't make JSET.INI read-only). The file is made up from the 
  892. statements listed below (there should be one statement per line).
  893.  
  894.  
  895. JEEVES= [network_number : ]node This is the address of the computer 
  896.                                 running Jeeves and can be found from the 
  897.                                 Connection Display of Jeeves.  You can leave 
  898.                                 out the network number (or set it 0) if you 
  899.                                 know that the client PC and Jeeves use the 
  900.                                 same network number.
  901.  
  902. USERNAME= string                A group of up to 13 characters identifying the 
  903.                                 user of the computer.
  904.  
  905. FULL NAME= string               Up to 29 character string.
  906.  
  907. COMPUTER= string                A 29 character maximum string used to identify 
  908.                                 the computer.
  909.  
  910. ROOM=string                     A 19 character maximum string identifying the 
  911.                                 location of the client computer.
  912.  
  913. PRIORITY=n                      Sets the printing priority in the range 0 
  914.                                 (highest priority) to 9 (lowest priority).
  915.  
  916. INTERNAL_STATUS=xxxxx           Do not insert or change this line.  The 
  917.                                 program JSET, creates and uses this line.
  918.  
  919. 20
  920.  
  921. Example
  922.  
  923.         jeeves=1:0000ABCD1234
  924.         username=Bertie
  925.         full name=Bertram W. Wooster
  926.         computer=IBM PC compatible
  927.         room= D030
  928.         priority=5
  929.  
  930.  
  931.  
  932.  
  933. Jset
  934.  
  935. Jset is used to link existing or specifically created devices to the print 
  936. queues on Jeeves.
  937.  
  938. Syntax  jset device [queue_name] [/t=x] [/p=y] [/-int] [/-ps] [/u] 
  939.                 [/s+|/s-] [/a=[d:][path]filename[.ext]]
  940.                 [/z=[d:][path]filename[.ext]]
  941.  
  942.         or      jset /i [/s+|/s-]
  943.  
  944.         or      jset [/?]
  945.  
  946.  
  947. Parameters  device  This is the name of an existing print device 
  948.                     (such as LPT1) or the name of a device to be created.  
  949.                     The device name should contain up to eight standard DOS 
  950.                     filename characters and should be unique (i.e. no files 
  951.                     with the same 8 character filename, even if they have an 
  952.                     extension)  as DOS will treat it as a reserved filename.  
  953.                     If the device is not followed by a Jeeves queue name (see 
  954.                     below), then Jset will attempt to delete the Jlink 
  955.                     device.
  956.  
  957.             queue_name
  958.                     The queue_name is the print queue on Jeeves to which data 
  959.                     will be sent.
  960.  
  961.  
  962. Switches    /t=x    This sets the end of print time-out value in seconds.  x 
  963.                     should be in the range 1 to 9 with the default being 10.
  964.  
  965.             /p=y    The print priority defined in the JSET.INI file may be 
  966.                     overridden by the 'p' switch.  The value of y should be 
  967.                     between 0 (highest priority) and 9.
  968.  
  969.             /-int   The "minus interrupt" switch will prevent Jlink from 
  970.                     redirecting print requests sent directly to the 
  971.                     computer's BIOS (i.e. bypassing the device driver).  This 
  972.                     switch is applicable to the LPT and COM devices only.
  973.  
  974. 21
  975.  
  976.             /-ps    By default, Jlink will monitor Print Screen requests 
  977.                     (issued by pressing the PrtSc key) so that it can end the 
  978.                     printing efficiently rather than having to wait for the 
  979.                     end of print time-out to expire.  However, if problems 
  980.                     arise using the print screen facility, include the '-ps' 
  981.                     switch to disable monitoring.  This switch is only 
  982.                     applicable to LPT1 and will be ignored if the '-int' 
  983.                     switch is used.
  984.  
  985.             /u      If the 'u' switch is used with only a device name, then 
  986.                     the device will be removed without the user being 
  987.                     prompted for confirmation.
  988.  
  989.             /s+ or /s-
  990.                     When the end of print time-out period has expired, Jlink 
  991.                     will beep if sound is on (s+).  The sound switch will 
  992.                     affect all the devices which are timed-out.
  993.  
  994.             /a=[d:][path]filename[.ext]
  995.                     The 'a' switch is used to identify a file which contains 
  996.                     prologue data to be sent to Jeeves at the start of every 
  997.                     print job.  The file size should be less than the 
  998.                     available space in the prologue/epilogue file store.
  999.  
  1000.             /z=[d:][path]filename[.ext]
  1001.                     The 'z' switch identifies the epilogue file which is sent 
  1002.                     after the print job.
  1003.  
  1004.             /i      Information about the status of Jlink and associated 
  1005.                     devices may be listed using the 'i' switch.
  1006.  
  1007.             /?      The query switch lists the command line options.
  1008.  
  1009.  
  1010.  
  1011. Creating a New Print Device
  1012.  
  1013. There are several advantages to creating a new print device rather than 
  1014. redirecting one of the existing LPT or COM devices.  (1) the existing 
  1015. devices remain attached to their local ports, (2) the device name can 
  1016. reflect the attached printer name, and (3) it is not necessary to remove 
  1017. the device before loading the Netware Shell (see "Compatibility with the 
  1018. Netware Shell").  Further, this is the recommended way to print from 
  1019. Windows applications.
  1020.  
  1021. Enter the following command at the DOS prompt to create a print device:
  1022.  
  1023. jset  device  queue_name
  1024.  
  1025. For example,
  1026.  
  1027. jset  hplj_iv  hplj4
  1028.  
  1029. would create a device called HPLJ_IV and would link this device to the 
  1030. Jeeves print queue called HPLJ4.  Note that there should not be any files 
  1031. on the computer with the device name, even if the file has a filename 
  1032. extension.  Thus, in the above example, there shouldn't be any files with 
  1033. the name HPLJ_IV such as HPLJ_IV.TXT  (however, HPLJ_IV1.TXT would be OK).
  1034.  
  1035. 22
  1036.  
  1037. Redirecting an Existing Device
  1038.  
  1039. Unfortunately, may DOS programs will only print to specific devices; 
  1040. namely LPT1/2/3  and COM1/2.  Furthermore, some programs will bypass the 
  1041. device driver and access the parallel or serial ports via the computer's 
  1042. basic input/output system (BIOS).  For these programs it will be necessary 
  1043. to redirect the specific device.  For example, if the program prints to 
  1044. LPT1, then enter the following command:
  1045.  
  1046. jset  lpt1  lq850
  1047.  
  1048. This will cause any data sent to LPT1, either to the DOS device via DOS 
  1049. function calls or to the BIOS via the printer interrupt 17(hex), to be 
  1050. redirected to the Jeeves print queue  LQ850.  If the '-int' switch is 
  1051. included in the command line, then only data sent to the DOS device will 
  1052. be redirected.
  1053.  
  1054. One problem redirecting data sent through the BIOS, is knowing when the 
  1055. print job is complete.  The Jlink driver determines this by monitoring the 
  1056. time between each character received.  If this time exceeds a preset value 
  1057. (the end of print time-out period), then Jlink assumes the application has 
  1058. finished printing and tells Jeeves to queue the data for printing.  You 
  1059. can tell when Jlink has determined the end of the print job by using the 
  1060. sound switch (/s+) in the JSET command.
  1061.  
  1062. Note that programs which bypass both the device driver and BIOS and access 
  1063. the hardware directly, cannot have their printing redirected.
  1064.  
  1065.  Removing a Device
  1066.  
  1067. To delete a device created by Jlink or restore an existing device, enter 
  1068. the device name by itself.  Thus to delete the device HPLJ_IV, enter the 
  1069. following:
  1070.  
  1071. jset  hplj_iv
  1072.  
  1073. Confirmation will be requested before the device is removed unless the 'u' 
  1074. switch is included in the command line.
  1075.  
  1076. Inserting Prologue and Epilogue data
  1077.  
  1078. Jlink has the ability to send predefined data to a Jeeves print queue 
  1079. before (the prologue data) and after (the epilogue data) a program's print 
  1080. data.   Files containing the prologue and epilogue data can be stored in 
  1081. the Jlink driver by using the 'a' and 'z' switches respectfully.  Each 
  1082. device can store its own prologue and epilogue data but the total size of 
  1083. all the devices' data must be less than the amount of memory allocated 
  1084. when JLINK.SYS was installed with the 'b' switch.  Note that Jlink will 
  1085. send the prologue and epilogue data exactly as it is in the file and thus 
  1086. all carriage returns (ASCII 13), line feeds(ASCII 10),  end of file 
  1087. markers (ASCII 26), etc. will be included.
  1088.  
  1089. There are at least two ways to make use of this facility.  The first is to 
  1090. store a header or banner page which would include the user's name, in the 
  1091. prologue file.  Then, each time the user sends data to the printer, the 
  1092. header page would be printed first identifying the owner of the print job.
  1093.  
  1094. 23
  1095.  
  1096. The other possible use is to store printer emulation code in the prologue 
  1097. file which would program the printer to emulate a different type of 
  1098. printer.  The epilogue data could then be used to restore the printer back 
  1099. to its original state.  For example, the Star Micronics LaserPrinter 8III 
  1100. can emulate three different printers; the HP LaserJet III (the default), 
  1101. the Epson EX-800 and the IBM Proprinter.  It would be possible therefore 
  1102. to create three Jlink devices, each linked to the same Jeeves print queue 
  1103. but with different prologue data.  This would be done as follows:
  1104.  
  1105.    jset  hplj3  star8iii  /a=c:\utils\hpljemu.dat
  1106.    jset  ex800  star8iii  /a=c:\utils\ex800emu.dat /z=c:\utils\hpljemu.dat
  1107.    jset  ibmpro  star8iii  /a=c:\utils\ibmpemu.dat /z=c:\utils\hpljemu.dat
  1108.  
  1109. where STAR8III is the Jeeves print queue serving the Star printer, HPLJ3, 
  1110. EX800 and IBMPRO are the Jlink devices and HPLJEMU.DAT, EX800EMU.DAT and  
  1111. IBMPEMU.DAT are the files containing the emulation codes for the 
  1112. respective printers.
  1113.  
  1114. Using Jlink with Windows
  1115.  
  1116. The general method to use Jlink with Windows is to create a new print 
  1117. device (as described above) and then insert the name of the device in the 
  1118. [ports] section of the WIN.INI file.  For example, if the new device was 
  1119. called HPLJ_IV, then the [ports] section of the WIN.INI file may look 
  1120. like:
  1121.  
  1122. [ports]
  1123. ; A line with [filename].PRN followed by an equal sign causes
  1124. ; [filename] to appear in the Control Panel's Printer Configuration dialog
  1125. ; box. A printer connected to [filename] directs its output into this 
  1126. file.
  1127. LPT1:=
  1128. LPT2:=
  1129. LPT3:=
  1130. COM1:=9600,n,8,1
  1131. COM2:=9600,n,8,1
  1132. COM3:=9600,n,8,1
  1133. COM4:=9600,n,8,1
  1134. FILE:=
  1135. EPT:=
  1136. HPLJ_IV:=
  1137.  
  1138. The next step is to link a Windows printer to the Jlink device.  This is 
  1139. done by opening the Printers option in the Control Panel, selecting the 
  1140. appropriate printer and choosing the Configure (v3.0)/Connect(v3.1) 
  1141. button.  From the list of ports, select HPLJ_IV and choose the OK button.
  1142.  
  1143. Windows 3.1 makes the use of an existing port (such as LPT1) simply a case 
  1144. of clearing the 'Fast Printing Direct to Port' box in the Connect dialog 
  1145. window.  With this box cleared, Windows will print via the LPT/COM 
  1146. redirected device.  However, the situation becomes somewhat more complex 
  1147. with Windows 3.0.  Whether Windows 3.0 will print to the redirected device 
  1148. or not depends on several factors including (1) the presence of a physical 
  1149. port, (2) the loading of a network shell, and (3) the presence of a 
  1150. network driver.  One method to force Windows 3.0 to print via a redirected 
  1151. device is to add an extension to the existing device name.  For example, 
  1152. if Jlink has redirected LPT1, then the device LPT1.DOS could be added to 
  1153. the [ports] section of the WIN.INI file and the appropriate printer 
  1154.  
  1155. 24
  1156. connected to this port.  Windows 3.0 would then attempt to print data to 
  1157. the file LPT1.DOS which DOS would interpret as the device LPT1 (LPT1 being 
  1158. a reserved filename).
  1159.  
  1160. If you do have to redirect an existing port for DOS applications and you 
  1161. want to use Windows applications as well, it is advisable to create a 
  1162. device for the Windows applications and redirect the LPT port as well.  
  1163. For example:
  1164.  
  1165. jset  lpt1  hplj4
  1166. jset  hplj_iv  hplj4
  1167.  
  1168. would redirect the LPT1 port for DOS applications and would create the 
  1169. device HPLJ_IV for Windows applications.
  1170.  
  1171. Compatibility with the Netware Shell
  1172.  
  1173. The Netware Shell (NETX) takes a heavy handed approach to accessing DOS 
  1174. facilities.  Not only does it trap all calls to the BIOS parallel 
  1175. interrupt 17 services rather than passing on the interrupt if not 
  1176. required, it also bypasses the LPT1, 2 and 3 device drivers in the DOS 
  1177. device driver chain rather than inserting the devices at the beginning of 
  1178. the chain as is usual.  This in itself would not be a problem except that 
  1179. when the shell is removed, its attempts to restore the chain to its 
  1180. original state fail if the LPT devices do not reside in DOS (as would be 
  1181. the case if Jlink had inserted its own versions of the LPT devices).
  1182.  
  1183. The consequence of this is that Jlink must not have redirected any of the 
  1184. LPT devices when the Netware Shell is loaded.  However, once the shell is 
  1185. loaded, it is then possible to use Jset to redirect any or all of the LPT 
  1186. devices.  Similarly the Jlink devices must be removed before the Netware 
  1187. Shell is unloaded.
  1188.  
  1189. The circumstances mentioned above apply only to the LPT devices.  The COM 
  1190. devices and any Jlink created devices are unaffected by the Netware Shell.
  1191.  
  1192.  
  1193. 25
  1194.  
  1195. Jprint
  1196.  
  1197. Jprint sends a specified file to a print queue on Jeeves for printing.  It 
  1198. also displays diagnostic information.
  1199.  
  1200.  
  1201. Syntax          jprint [d:][path]filename[.ext] queue_name [/ff]
  1202.         or      jprint /l
  1203.         or      jprint /?
  1204.  
  1205.  
  1206. Parameters      [d:][path]filename[.ext]
  1207.                      specifies the location and name of the file to print.
  1208.  
  1209.                 queue_name
  1210.                      is the print queue to which the file will be sent.
  1211.  
  1212.  
  1213. Switches        /ff  Adds a form-feed (new page) command to the end of the 
  1214.                      file if the last character of the file is not already a 
  1215.                      form-feed.
  1216.  
  1217.                 /l   The L switch lists available queue names and device 
  1218.                      descriptions.
  1219.  
  1220.                 /?   Lists command line parameters.
  1221.  
  1222.  
  1223. Description     Jprint requests a connection to Jeeves and once established, 
  1224.                 sends the specified file and its print priority (as defined in 
  1225.                 JSET.INI) to the print queue queue_name.  The connection to 
  1226.                 Jeeves is then terminated and the file printed.  Note that 
  1227.                 Jprint does not use the Jlink device driver.
  1228.  
  1229.  
  1230. Example         jprint c:\data\fig.pcl hplj4
  1231.  
  1232.  
  1233. 26
  1234.  
  1235. APPENDICES
  1236.  
  1237. Appendix A:  System Requirements
  1238.  
  1239. Processor               8088 or 80x86.  Jeeves will work adequately with a 
  1240.                         4.7MHz clocked 8088 computer.
  1241.  
  1242. RAM                     512 Kb minimum
  1243.  
  1244. Hard Disk               10Mb recommended minimum.  This is to allow space for 
  1245.                         temporary print files to be stored before printing.  
  1246.                         It would also be possible to use a diskless 
  1247.                         workstation with a RAM or network drive.
  1248.  
  1249. Video                   Any video card and monitor capable of displaying 
  1250.                         80x25 text including MDA, HGC, CGA, EGA, VGA, etc.
  1251.  
  1252. Parallel Ports          0 to 3.  Jeeves drives the parallel ports via the 
  1253.                         BIOS int 17(hex) interrupt.
  1254.  
  1255. Serial Ports            0 to 4.  Jeeves drives the serial ports via the 
  1256.                         BIOS int 14(hex) interrupt.
  1257.  
  1258. Network Interface Card  Any network card capable of supporting Novell's 
  1259.                         IPX/SPX protocol such as ethernet.
  1260.  
  1261.  
  1262. 27
  1263.  
  1264. Appendix B:  Acquiring IPX
  1265.  
  1266. A disk containing network drivers will usually be supplied with your 
  1267. network card.  These drivers should include the Netware dedicated IPX  
  1268. driver, IPX.COM and the Open Data-Link Interface version, IPXODI.COM.  
  1269. However,  if you've got an ethernet card without drivers, you may be able 
  1270. to obtain the necessary software from sites on the Internet or by mail 
  1271. from Columbia University, NY, USA.
  1272.  
  1273. The Crynwr Collection of Packet Drivers
  1274.  
  1275. A packet driver is a program which provides an interface between the 
  1276. ethernet card and one or more network applications.  The Crynwr collection 
  1277. contains packet drivers for common ethernet cards and these are available 
  1278. by anonymous ftp from SimTel mirror sites.  The drivers are contained in 
  1279. the file ....../pktdrvr/pktdXX.zip where XX is the version number.
  1280.  
  1281.  
  1282. Primary mirror site:
  1283.         Rochester, Michigan  oak.oakland.edu
  1284.  
  1285. Secondary mirror sites:
  1286.         St. Louis, MO        wuarchive.wustl.edu
  1287.         Corvallis, OR        archive.orst.edu
  1288.         Falls Church, VA     ftp.uu.net
  1289.         Australia            archie.au
  1290.         UK                   src.doc.ic.ac.uk
  1291.         Finland              ftp.funet.fi
  1292.         Germany              ftp.uni-paderborn.de
  1293.         Israel               ftp.technion.ac.il
  1294.         Switzerland          ftp.switch.ch
  1295.         Taiwan               nctuccca.edu.tw
  1296.  
  1297. You can also purchase packet drivers on PC diskette by postal mail from 
  1298. Columbia University.  Their address is:
  1299.  
  1300. Kermit Distribution, Dept PD
  1301. Columbia University Academic Information Systems
  1302. 612 West 115th Street
  1303. New York, NY  10025
  1304.  
  1305. Tel. (+1) 212 854-3703
  1306.  
  1307. Packet Driver IPX
  1308.  
  1309. At the time of writing, the Crynwr collection (version 11) also contained 
  1310. a packet driver compatible version of IPX named PDIPX.COM.  This program 
  1311. is loaded after the packet driver and enables IPX/SPX services.  Details 
  1312. of how to install the software are included with the program.
  1313.  
  1314.  
  1315. 28
  1316.  
  1317. Appendix C:  System Messages
  1318.  
  1319.  
  1320. Jeeves
  1321.  
  1322. Access denied.  DOS is denying access to a file; usually because an 
  1323. attempt is being made to create or write to a file that already exists and 
  1324. is read-only.
  1325.  
  1326. DOS version must be 3.3 or above.  You need to update your version of DOS.
  1327.  
  1328. Fatal error has occured in procedure XX error code NN.  Jeeves has 
  1329. detected an error condition which it is unable to resolve and has 
  1330. terminated.  Please report all such program faults to the author stating 
  1331. the procedure code (XX) and error code (NN).
  1332.  
  1333. Identification file IDENTIFY.LST not found.  Do you wish to create one ?  
  1334. (Y/N):  Jeeves can't find the user identification file in the current 
  1335. directory and is requesting that it be created.  Once created, users are 
  1336. added to this file each time they connect to Jeeves.  If you don't create 
  1337. the file, the program will simply terminate.
  1338.  
  1339. No IPX/SPX sockets left.  Jeeves is unable to open a communication socket.  
  1340. Check that the line "ipx  sockets  =  25" is included in the SHELL.CFG or 
  1341. NET.CFG file and reload the IPX driver.
  1342.  
  1343. No response from router.  The network number will be set 00000000.  Jeeves 
  1344. has sent out several Routing Information Protocol (RIP) packets but has 
  1345. not got a response and thus assumes that it is connected to an isolated 
  1346. segment.
  1347.  
  1348. Not enough memory.  You don't have enough RAM in your computer.
  1349.  
  1350. Obtaining routing information......  Jeeves has sent out a Routing 
  1351. Information Protocol (RIP) packet and is waiting for a response from a 
  1352. Novell router.
  1353.  
  1354. Routing information received.  A router has responded with the network 
  1355. number which forms part of Jeeves' address.
  1356.  
  1357. SPX not running.  Program aborted.  Jeeves is unable to initialise the SPX 
  1358. driver and has terminated.  The IPX driver (IPX.COM or IPXODI.COM) has not 
  1359. been loaded or the IPXODI.COM has been loaded with the 'a' option or the 
  1360. IPX.COM driver is an old version.
  1361.  
  1362. The data file JEEVES.DAT has been corrupted.  It is being reset.  Jeeves 
  1363. has detected that its data file has changed since the last time Jeeves was 
  1364. run and has reset the file to its default values.
  1365.  
  1366. Too many open files.  DOS has run out of file handles.  Set "files=30" (or 
  1367. more) in the CONFIG.SYS file and reboot.
  1368.  
  1369. Unable to create file filename.  This is usually because the directory is 
  1370. read-only or the file already exists and is read-only.
  1371.  
  1372. Unable to find file filename.  Jeeves is unable to find the specified 
  1373. file.
  1374.  
  1375. 29
  1376.  
  1377. Unable to find path to filename.  Jeeves is unable to find the directory 
  1378. which is specified to contain the file filename.
  1379.  
  1380. Unable to open IPX socket.  The IPX driver has run out of sockets or some 
  1381. other application is using Jeeves' socket  number, 494A.  Make sure the 
  1382. line "ipx sockets=25" (or more) is included in the NET.CFG or SHELL.CFG 
  1383. files.
  1384.  
  1385. Unable to read file filename.  There is a possible disk fault or read-
  1386. access has been denied.
  1387.  
  1388. Unable to write data to file filename.  The disk is full or write-access 
  1389. has been denied.
  1390.  
  1391. Unlisted error.  DOS has returned a disk error which Jeeves doesn't 
  1392. understand.
  1393.  
  1394.  
  1395. Jset
  1396.  
  1397. All communication channels in use.  Jset is unable to communicate with 
  1398. Jeeves as the Jlink driver is already using its maximum of three channels.  
  1399. This should only happen in a multi-tasking environment such as Windows 
  1400. when three jlink devices are sending data to Jeeves at the same time.  A 
  1401. channel will be freed when a device has finished sending data.
  1402.  
  1403. Cannot install any more devices.  Jset has reached the limit of 10 
  1404. devices.
  1405.  
  1406. Connection prematurely terminated.  Possible faulty network.
  1407.  
  1408. Device name missing.  You must include a device name.
  1409.  
  1410. Device name too long.  The device name should not be more than 8 
  1411. characters long.
  1412.  
  1413. Incorrect version of JLINK.SYS.  You must use version x.x  You need to 
  1414. load the version of jlink that came with Jset.
  1415.  
  1416. INT 2F multiplex code conflict.  AH=0xCE.  Jset uses the DOS interrupt 2F, 
  1417. code CE (hex) to locate the jlink device driver.  However, another program 
  1418. has responded to the code and Jset cannot locate the device driver.  You 
  1419. will need to unload the other memory resident program.
  1420.  
  1421. Jeeves unable to establish connection.  Jset has tried to establish a 
  1422. connection with Jeeves, but Jeeves has responded with an error condition 
  1423. and had denied the connection.  This will occur when Jeeves has run out of 
  1424. memory, is already processing its maximum of 20 connections, has run out 
  1425. of IPX sockets or has encountered disk errors.
  1426.  
  1427. JLINK driver not installed.  Jset cannot find the JLINK.SYS device driver.  
  1428. Make sure that the line "device=jlink.sys" is in the CONFIG.SYS file.
  1429.  
  1430. JSET requires write access to xxxxx.  Jset is unable to write to the 
  1431. specified file and cannot continue.
  1432.  
  1433. Network failure.  Jset cannot re-establish connection with Jeeves.  This 
  1434. is most likely due to a faulty network.
  1435.  
  1436. 30
  1437.  
  1438. No IPX/SPX sockets left.  Jset is unable to open a communication socket.  
  1439. You will need to increase the number of ipx sockets in the SHELL.CFG or 
  1440. NET.CFG file and reload the IPX driver.
  1441.  
  1442. No response from Jeeves.  Incorrect network address or Jeeves not running.  
  1443. Check that the address at the top of the Jeeves connection display is the 
  1444. same as that shown by the Jset /i command.  If they are different, then 
  1445. you will need to edit the "jeeves=" line in the JSET.INI file.  Another 
  1446. thing to check is that both Jeeves and the client computer are using the 
  1447. same ethernet frame type.  Most ethernet LAN drivers will default to 
  1448. Ethernet_802.3, but you can change this by setting the "frame" option in 
  1449. the NET.CFG file.  For example the following lines from a NET.CFG file 
  1450. would set the frame type to Ethernet_II for a driver named drivername:
  1451.  
  1452. Link Driver drivername
  1453.         Frame Ethernet_II
  1454.  
  1455. Requested print queue not found.  The name of the print queue specified in 
  1456. the Jset command does not match any found on Jeeves.  You can use the 
  1457. Jprint /L command to list available print queues.
  1458.  
  1459. SPX not running.  Jset is unable to initialise the SPX driver and has 
  1460. terminated.  The IPX driver (IPX.COM or IPXODI.COM) has not been loaded or 
  1461. the IPXODI.COM has been loaded with the 'a' option or the IPX.COM driver 
  1462. is an old version.
  1463.  
  1464. There is not enough space in JLINK file store to save the file xxxxx.  The 
  1465. jlink driver has a limited amount of  memory to store prologue and 
  1466. epilogue data and the file you are attempting to store is too big.  You 
  1467. should either re-install the jlink driver with a larger buffer, the 
  1468. maximum size of which is 4096 (i.e.  device=jlink.sys /b=4096) or delete 
  1469. any other current devices which have prologue or epilogue data.  Note that 
  1470. the largest file you can store is 4096 bytes.
  1471.  
  1472. This device has already been installed.  Enter "JSET device_name" to 
  1473. remove specified device.  You have tried to install a device name that 
  1474. already exists.  If you want to install a device with different 
  1475. parameters, you must remove the old version first.
  1476.  
  1477. Unable to confirm print queue name.  Jset cannot verify the requested 
  1478. print queue name as it is unable to connect to Jeeves.  However, the 
  1479. device will still be installed and will attempt to connect to Jeeves again 
  1480. when the device is sent data to print.
  1481.  
  1482. Unable to open file xxxxx.  Jset is unable to open the specified file.
  1483.  
  1484. Unable to read file xxxxx.  Jset is unable to read the specified file.
  1485.  
  1486. Unable to remove device.  Device is active.  Jset cannot remove an 
  1487. installed device that is currently in use.  You should wait until the 
  1488. device has finished printing and try again.
  1489.  
  1490. Unable to remove device.  Device not found.  Jset cannot find the device 
  1491. you specified.  Enter Jset /i to get a list of installed devices.
  1492.  
  1493.  
  1494. 31
  1495.  
  1496. Jprint
  1497.  
  1498. All server connections in use.  Jeeves has reached its limit of 20 
  1499. simultaneous connections.  Try the Jprint command again when Jeeves isn't 
  1500. so busy.
  1501.  
  1502. Cannot find specified file to print.  The file entered on the Jprint 
  1503. command line cannot be found.
  1504.  
  1505. Connection terminated.  Jprint has closed the connection with Jeeves.
  1506.  
  1507. No sockets available on server.  Jeeves has run out of communication 
  1508. sockets.  Make sure the line "ipx sockets=25" (or more) is included in the 
  1509. NET.CFG or SHELL.CFG files on the Jeeves computer.
  1510.  
  1511. No sockets left.  Jprint is unable to open a communication socket.  You 
  1512. will need to increase the number of ipx sockets in the SHELL.CFG or 
  1513. NET.CFG file and reload the IPX driver.
  1514.  
  1515. Requested print queue doesn't exist.  Jeeves has returned an error which 
  1516. indicates that the print queue name specified by Jprint does not exist.  
  1517. (This error should not normally occur as Jprint compares the print queue 
  1518. name entered on the command line with a list of queue names received from 
  1519. Jeeves and reports an error if the requested queue is not in the list.  
  1520. See ".... queue not found" below)
  1521.  
  1522. Requested print queue is full.  Try again when Jeeves has printed files 
  1523. from the print queue.
  1524.  
  1525. Requested print queue not found.   The print queue name entered on the 
  1526. Jprint command line is not recognised by Jeeves.
  1527.  
  1528. Server disk is full.  Disk space will be freed when Jeeves has printed 
  1529. some files.
  1530.  
  1531. Server out of memory.  Jeeves cannot print the specified file as all 
  1532. Jeeves' available memory is in use.  Memory will become available when 
  1533. Jeeves has finished printing other files.
  1534.  
  1535. Server unable to create file.  Jeeves has been unable to create a file on 
  1536. its disk.
  1537.  
  1538. SPX not running.  Program aborted.  Jprint is unable to initialise the SPX 
  1539. driver and has terminated.  The IPX driver (IPX.COM or IPXODI.COM) has not 
  1540. been loaded or the IPXODI.COM has been loaded with the 'a' option or the 
  1541. IPX.COM driver is an old version.
  1542.  
  1543. Unable to establish primary connection.  Server is down, incorrect address 
  1544. or network failure.  Check that the address at the top of the Jeeves 
  1545. connection display is the same as that  in the JSET.INI file.  Also check 
  1546. is that both Jeeves and the client computer are using the same ethernet 
  1547. frame type.  Most ethernet LAN drivers will default to Ethernet_802.3, but 
  1548. you can change this by setting the "frame" option in the NET.CFG file.  
  1549. For example the following lines from a NET.CFG file would set the frame 
  1550. type to Ethernet_II for a driver named drivername:
  1551.  
  1552. Link Driver drivername
  1553.         Frame Ethernet_II
  1554.  
  1555. 32
  1556.  
  1557. Unable to establish secondary connection.  Server is down or network 
  1558. failure.  As the primary connection was successful, the inability to 
  1559. reconnect must be due to Jeeves being switched off or a network error.
  1560.  
  1561. Unable to open specified file for reading.  Jprint cannot open the file 
  1562. entered on the command line.
  1563.  
  1564. Unable to read specified file.   Jprint cannot read the file entered on 
  1565. the command line.
  1566.  
  1567. Unlisted error.  Jprint does not recognise an error received from DOS.
  1568.  
  1569. Warning.  This is an old version of JPRINT.  Jeeves may not support old 
  1570. versions of client software.
  1571.  
  1572. Warning.  You are connecting to an old version of Jeeves.  New features 
  1573. added to a later version of Jprint will not be supported by an old version 
  1574. of Jeeves.
  1575.  
  1576.  
  1577. 33
  1578.  
  1579. Appendix D:  Technical Notes
  1580.  
  1581. Specifications
  1582.  
  1583. DOS version                  MS DOS 3.3 and above
  1584. RAM                          512Kb minimum
  1585. Hard disk size               10Mb minimum
  1586. Communication protocol       Novell's Sequenced Packet Exchange (SPX)
  1587. Primary socket number        494Ah
  1588. Programming                  Microsoft MASM v6.1
  1589.  
  1590. Maximum values
  1591.  
  1592. Users                        Limited by disk space (128 bytes/user)
  1593. Simultaneous connections     20 (RAM dependent)
  1594. Print queues                 7 (3 parallel & 4 serial)
  1595. Files/queue                  50
  1596.  
  1597. Maximum character string lengths
  1598.  
  1599. Queue name                   70 (queue_name + device_description)
  1600. User name                    13
  1601. Full name                    29
  1602. System name                  29
  1603. Room                         19
  1604.